﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SH.Room.Application.IServices.IRoomState
{
    //public class RoomShowDto
    //{

    //    /// <summary>
    //    /// 房型ID 
    //    /// </summary>
    //    public int Rtid { get; set; }

    //    /// <summary>
    //    /// 房型名称  
    //    /// </summary>
    //    public string? Rtname { get; set; }

    //    /// <summary>
    //    /// 房号ID  
    //    /// </summary>
    //    public int RoomId { get; set; }

    //    /// <summary>
    //    /// 房号  
    //    /// </summary>
    //    public string RoomNumber { get; set; }

    //    /// <summary>
    //    /// 预订人姓名
    //    /// </summary>
    //    public string truename { get; set; }
    //    /// <summary>
    //    /// 预订人电话
    //    /// </summary>
    //    public string Phone { get; set; }
    //    /// <summary>
    //    /// 入住时间
    //    /// </summary>
    //    public DateTime? CheckTime { get; set; }
    //    /// <summary>
    //    /// 离店时间
    //    /// </summary>
    //    public DateTime? DepartureTime { get; set; }
    //    /// <summary>
    //    /// 入住天数
    //    /// </summary>
    //    public int NumBerday { get; set; }

    //    /// <summary>
    //    /// 房态筛选ID 
    //    /// </summary>
    //    public int Rsid { get; set; }

    //    /// <summary>
    //    /// 房态筛选类型
    //    /// </summary>
    //    public string? RoomType { get; set; }

    //    /// <summary>
    //    /// 更多筛选ID
    //    /// </summary>
    //    public int MsId { get; set; }

    //    /// <summary>
    //    /// 更多筛选类型
    //    /// </summary>
    //    public string? ScreenType { get; set; }


    //}
    public class RoomShowDto
    {
        /// <summary>
        /// 房型ID 
        /// </summary>
        public int Rtid { get; set; }
        /// <summary>
        /// 房型名称  
        /// </summary>
        public string? Rtname { get; set; }
        public List<RoomNumberDto> RoomNumDtos { get; set; }

    }

    public class RoomNumberDto
    {
        /// <summary>
        /// 房号ID  
        /// </summary>
        public int RoomId { get; set; }

        /// <summary>
        /// 房号  
        /// </summary>
        public string RoomNumber { get; set; }

        /// <summary>
        /// 预订人姓名
        /// </summary>
        public string? truename { get; set; }
        /// <summary>
        /// 预订人电话
        /// </summary>
        public string? Phone { get; set; }
        /// <summary>
        /// 入住时间
        /// </summary>
        public DateTime? CheckTime { get; set; }
        /// <summary>
        /// 离店时间
        /// </summary>
        public DateTime? DepartureTime { get; set; }
        /// <summary>
        /// 入住天数
        /// </summary>
        public int? NumBerday { get; set; }

        public int? Rsid { get; set; }
        public int?  MsId { get; set; }
    }
}
